{# SearchEngineBundle/Resources/views/SearchOffer/form.html.twig #}

<form action="{{ path('searchengine_search_offer_result') }}" method="post" {{ form_enctype(form) }} class="lead well form-search">
 
    <!-- form errors -->
    {{ form_errors(form) }}
    <label>Mot-Clés</label>
    {{ form_errors(form.mot_cle) }}
    {{ form_widget(form.mot_cle) }}
    <label>Lieu</label>
    {{ form_errors(form.lieu) }}
    {{ form_widget(form.lieu) }}
 
    {{ form_rest(form) }}
 
    <input class="btn btn-primary clear" type="submit" value="Rechercher" />
    
    <a class="btn-link right" href="#">Recherche avancee</a>
</form>

